package com.jnu.hc.jnuhcdoccms.controller;

import com.jnu.hc.jnuhcdoccms.dto.ROrderListRequestDto;
import com.jnu.hc.jnuhcdoccms.dto.ResponseObject;
import com.jnu.hc.jnuhcdoccms.service.ROredersService;
import com.jnu.hc.jnuhcusercms.mapper.OrdersMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ROrdersController {
    @Autowired
    ROredersService rOrdersService;



    @RequestMapping("/rorderList")
    public ResponseObject rordersList(@RequestBody ROrderListRequestDto rOrderListRequestDto){
        return rOrdersService.rorderList(rOrderListRequestDto);
    }
}
